home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
web
/
fweb
/
fweb-1.40
/
boot
/
unix
/
sun
/
cc
/
defaults.mk
< prev
next >
Wrap
Makefile
|
1993-10-29
|
3KB
|
145 lines
# Generated automatically from defaults.mk.in and sun.cc.ini by FWEB_configure.
# --- START of SYSTEM CONFIGURATION SECTION ---
# --- COMPILING ---
# --- Compiler name ---
# (for the Cray, use scc)
CC = cc
# A WEB flag, either CC or GCC. This flag isn't used for bootstrapping; it
# is required for properly regenerating custom.h by tangling custom.web. If
# you're on the Sun and working with gcc, say ``COMPILER = GCC''.
COMPILER = CC
# --- Compiler options ---
# (Miscellaneous compiler flags)
CFLAGS = -g
# (Compiler macro definitions. In addition, see the discussion of PARTn
# below.)
# --- The actual compile command used by the Makefile. ---
COMPILE = $(CC) -c $(CFLAGS) $(DEFS) -Dconst=
# --- LINKING ---
# --- Extensions for object files ---
# $(O) is used for targets in the Makefile. $(OBJ) is the suffix used in
# the link line. (Sometimes $(OBJ) can be null if the compiler understands
# defaults and the length of the command line is an issue, as it is on some
# personal computers.)
O = o
OBJ = .$(O)
# TERMCAP0 is either a file name, or null. Generally you should use the stub
# termcap0.$(O). If you are going to use the system termcap library (only
# relevant for color, an experiment that isn't completed yet) make
# TERMCAP0 null and include ``-ltermcap'' in the LIBS line below.
TERMCAP0 = termcap0.$(O)
# --- Linker options ---
# (Miscellaneous linker flags)
LDFLAGS = -g
# (Libraries)
LIBS = -lm
# --- The actual link command used by the Makefile. TRY NOT TO CHANGE THIS
# LINE. ---
LINK = $(CC) $(LDFLAGS) -o $(@)
# --- MISCELLANEOUS ---
# --- Names of system commands used in the Makefile ---
MAKE = make
MV = mv
RM = rm
TOUCH = touch
# --- How to print a dvi file ---
ECHO = echo # Use this to prevent actual printing.
PRINT_DVI = $(ECHO) lpr -d
# --- FWEB flags indicating type of machine on which you're tangling
# (HOME_MACHINE) and for which machine you're generating C code. ---
HOME_MACHINE = SUN
MACHINE = SUN
# --- FWEB file suffixes ---
# (For IBM-PC, shorten to ``hwe'')
HWEB = hweb
# --- Splitting FTANGLE & FWEAVE into several parts, especially for small
# compilers on personal computers. Here's an example for the IBM-PC. ---
# ---------------------------------------------------------------------------
#PART1 = /Dpart=1
#PART2 = /Dpart=2
#PART3 = /Dpart=3
#FTANGLE2 = ftangle2.$(O)
#FTANGLE3 = ftangle3.$(O)
#FWEAVE2 = fweave2.$(O)
#FWEAVE3 = fweave3.$(O)
#RESERVED2 = reservd2.$(O)
# ---------------------------------------------------------------------------
# The PARTn macros are compiler options that define the macro |part|
#to be n, for example ``-Dpart=2''
PART1 =
PART2 =
PART3 =
# Here are the names of the second and third parts of the object files.
FTANGLE2 =
FTANGLE3 =
FWEAVE2 =
FWEAVE3 =
RESERVED2 =
# --- INSTALLATION INFORMATION ---
INSTALL = /bin/install -c
INSTALL_PROGRAM = $(INSTALL)
INSTALL_DATA = $(INSTALL) -m 644
prefix = /usr/local
exec_prefix = $(prefix)
docprefix = /usr/doc
# Where the processors go:
bindir = $(exec_prefix)/bin
# Where the Unix man pages go:
manext = 1
mandir = $(docprefix)/man/man$(manext)
# Where the emacs fweb.texinfo and info* files go:
infodir = $(docprefix)/info
texinfodir = $(docprefix)/texinfo
# Where the FWEB user manual goes:
manualdir = $(docprefix)/fweb
# Where the fwebmac.sty macro package used by FWEAVE goes:
texdir = $(prefix)/lib/tex/inputs
# --- END of SYSTEM CONFIGURATION SECTION ---